package com.sell.demo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sell.demo.entity.Food;
import com.sell.demo.mapper.good.FoodMapper;
import com.sell.demo.service.FoodService;

/**
 * 城市业务逻辑实现类
 *
 * Created by xchunzhao on 02/05/2017.
 */
@Service
public class FoodServiceImpl implements FoodService {

    @Autowired
    private FoodMapper foodMapper;
//
//    public City findCityByName(String cityName) {
//        return cityDao.findByName(cityName);
//    }
    /**
     * 获取good信息
     * @param cityName
     */
    public List<Food> getFoodList(String goodId){
    	return foodMapper.getFoodList(goodId);
    }

}
